package com.whfc.ms.api.fim.service.impl;

import com.whfc.env.entity.FenceEdgeDeviceDetail;
import com.whfc.env.service.FenceEdgeDeviceDetailService;
import com.whfc.ms.api.fim.service.MsFenceEdgeDeviceDetailService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MsFenceEdgeDeviceDetailServiceImpl implements MsFenceEdgeDeviceDetailService {

    @DubboReference(interfaceClass = FenceEdgeDeviceDetailService.class, version = "1.0.0")
    private FenceEdgeDeviceDetailService fenceEdgeDeviceDetailService;

    @Override
    public List<FenceEdgeDeviceDetail> findList(Integer deptId, Integer feId, String name) {
        return fenceEdgeDeviceDetailService.findList(deptId,name,feId);
    }

    @Override
    public void add(FenceEdgeDeviceDetail request) {
        fenceEdgeDeviceDetailService.add(request);
    }

    @Override
    public void edit(FenceEdgeDeviceDetail request) {
        fenceEdgeDeviceDetailService.edit(request);
    }

    @Override
    public void del(FenceEdgeDeviceDetail request) {
        fenceEdgeDeviceDetailService.del(request);
    }
}
